import request from '@/utils/request'
export const loginAPI = (data) => {
  return request({ url: '/sys/login', method: 'post', data })
}

export const getUserInfoAPI = () => {
  return request.get('/sys/profile')
}
